package com.medvalley.tcm.service;

import com.aliyuncs.exceptions.ClientException;

public interface SMSService {

    void sendSmsCode(String phone) throws ClientException;

    boolean validateCode(String phone, String smsCode);

    void sendSms(String phone, String template) throws ClientException;
}
